package med.movyzer.mobile.datastructs;

import java.util.ArrayList;
import med.movyzer.mobile.util.ExtCalendar;

public class MovementSeries {
	private ArrayList<Float[]> list=new ArrayList<Float[]>();
	private ExtCalendar startTime=new ExtCalendar();
	private ExtCalendar endTime=new ExtCalendar();
	
	
	public MovementSeries() {
	}
	
	public MovementSeries(ExtCalendar startTime,ExtCalendar endTime){
		this.startTime=(ExtCalendar) startTime.clone();
		this.endTime=(ExtCalendar) endTime.clone();
	}
	public void addMovement(Float[] m){
		list.add(m);
	}
	
	public Float[] getMovement(int i){
		return list.get(i);
	}
	
	public int size(){
		return list.size();
	}
	
	public void setList(ArrayList<Float[]> list) {
		this.list = list;
	}

	public ArrayList<Float[]> getList() {
		return list;
	}

	public void setStartTime(ExtCalendar startTime) {
		this.startTime = startTime;
	}

	public ExtCalendar getStartTime() {
		return startTime;
	}

	public void setEndTime(ExtCalendar endTime) {
		this.endTime = endTime;
	}

	public ExtCalendar getEndTime() {
		return endTime;
	}
	
}